
package com.sm.shoplook.dao.mapper.base;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.sm.shoplook.domain.base.Material;
import com.sm.shoplook.vo.base.material.req.MaterialSearchReqVo;
import com.sm.shoplook.vo.base.material.resp.MaterialRespVo;

import tk.mybatis.mapper.common.BaseMapper;

public interface MaterialMapper extends BaseMapper<Material> {

	int deleteMaterials(@Param("ids") String[] idList);

	List<MaterialRespVo> selectMaterialsPage(MaterialSearchReqVo materialSearchReqVo);

	MaterialRespVo selectMaterialById(@Param("id") Integer id);

	List<Material> selectMaterialsByIds(@Param("ids") List<Integer> ids);
}
